﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sealight.Core.DataAdapter;
namespace Sealight.Core.Domain
{
   public class ProfileEntity
    {
       public virtual Guid ProfileID { get; set; }
       public virtual string Title { get; set; }
       public virtual string Description { get; set; }
       public virtual string ExtensionType { get; set; }
       public virtual string FileURL { get; set; }
       public virtual bool IsActive { get; set; }
       public virtual DateTime CreatedDate { get; set; }
       public virtual DateTime UpdatedDate { get; set; }

       public virtual profile ToDataAdapter()
       {
           profile entity = new profile
           {
               id = this.ProfileID,
               title = this.Title,
               description = this.Description,
               file_url = this.FileURL,
               extension_type = this.ExtensionType,
               created_date = this.CreatedDate,
               updated_date = this.UpdatedDate,
               is_active = this.IsActive
           };

           return entity;
       }
    }
}
